package com.fxd.shopping.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.fxd.core.util.PageUtils;
import com.fxd.model.product.SpuInfoEntity;
import com.fxd.shopping.product.param.SpuSaveParam;

import java.util.Map;

/**
 * spu信息
 *
 * @author fuxdong
 * @email 2016335176@qqcom
 * @date 2021-07-17 09:59:24
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveSpuInfo(SpuSaveParam param);

    void saveBaseSpuInfo(SpuInfoEntity spuInfoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);

    /**
     * 商品上架
     *
     * @param spuId
     */
    void spuUp(Long spuId);
}

